package com.ims.core.enums;

/**
 * OrderType枚举类， 订单类型，包含总括和常规两种类型
 * @author IMS
 */
public enum OrderType {
    BLANKET('B', "总括"),
    REGULAR('R', "常规");

    private final char code;
    private final String name;

    OrderType(char code, String name) {
        this.code = code;
        this.name = name;
    }

    public char getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}